package com.ityibai.bootstrap.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Created by YinLin on 18/5/22.
 */
@Table(name = "t_user")
@Data
public class User {
    @Id
    private int id;

    @Column(name = "name")
    private String name;

    @Column(name = "age")
    private Integer age;
}
